/*
 * @Author: '小羊今晚不睡觉' '2226764294@qq.com'
 * @Date: 2025-09-22 13:29:10
 * @LastEditors: 小羊今晚不睡觉 2226764294@qq.com
 * @LastEditTime: 2025-10-09 13:32:47
 * @FilePath: \优工侠后台管理系统\src\router\modules\report.ts
 * @Description: 举报投诉模块路由配置
 */
import { RouteRecordRaw } from 'vue-router';
import { Layout } from '@/router/constant';
import { renderIcon } from '@/utils/index';

const routes: Array<RouteRecordRaw> = [
  {
    path: '/report',
    name: 'Report',
    component: Layout,
    meta: {
      title: '投诉反馈',
      icon: renderIcon('/icons/report.png'),
      sort: 3,
    },
    children: [
      {
        path: '',
        name: 'ReportIndex',
        meta: {
          title: '投诉反馈',
        },
        component: () => import('@/views/report/index.vue'),
      },
    ],
  },
];

export default routes;
